Skip to content

Commit

Permalink
pavucontrol: enable gtk+3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ratler committed Aug 20, 2014
1 parent 54d3c7e commit f43f969
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
10 changes: 2 additions & 8 deletions audio/pavucontrol/BUILD
@@ -1,11 +1,5 @@
OPTS+=" --disable-gtk3"

# hm, maybe gtk3mm has this as a RefPtr?
sedit "s/Gtk::Adjustment::create/new Gtk::Adjustment/" src/devicewidget.cc &&
sedit "s/configure(offsetAdjustment/configure(*offsetAdjustment/" src/devicewidget.cc &&
sedit "s/.*offsetAdjustment/Gtk::Adjustment *offsetAdjustment/" src/devicewidget.h &&

default_build
OPTS+=" --enable-gtk3"

default_build &&
install -Dm 644 {"$SCRIPT_DIRECTORY",/usr/share/applications}/pavucontrol.desktop

2 changes: 1 addition & 1 deletion audio/pavucontrol/DEPENDS
@@ -1,7 +1,7 @@
depends pulseaudio
depends libcanberra
depends libsigc++2
depends gtkmm
depends gtkmm3

optional_depends "lynx" \
"--enable-lynx" \
Expand Down
2 changes: 1 addition & 1 deletion audio/pavucontrol/DETAILS
Expand Up @@ -5,7 +5,7 @@
SOURCE_VFY=sha1:5cf0fb666d2022b22599a6d052f56e0c86d3013d
WEB_SITE=http://freedesktop.org/software/pulseaudio/pavucontrol
ENTERED=20060606
UPDATED=20130519
UPDATED=20140820
SHORT="Volume control utility for PulseAudio"

cat << EOF
Expand Down

0 comments on commit f43f969

Please sign in to comment.